<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>School Login</title>
</head>
<body>
<div>
<div
	style="width: 100%; text-align: left; padding-left: auto; padding-right: auto">
<h4>School login</h4>

</div>

<div
	style="width: 400px; margin-top: 150px; margin-bottom: 150px; margin-left: auto; margin-right: auto"
	align="center"><form:form method="POST" commandName="schoolLogin"
	action="schoolLogin">
	<p style="text-align: left;">Schools can login here and update
	track records of students, Update Notice boards and Day-to-day
	activities</p>
	<s:bind path="*">
		<c:if test="${status.error}">
			<div id="message" class="error">Login Failed<br />
			<!--			<div style="text-align: left">--> <!--			<form:errors path="username" /><br/> <form:errors path="password" />-->
			<!--			</div>--></div>
		</c:if>
	</s:bind>
	<fieldset><legend>School Login</legend>
	<table class="form-table">
		<tr>
			<td>Username</td>
			<td><form:input path="username" id="school_username" /></td>
		</tr>
		<tr>
			<td>Password</td>
			<td><form:password path="password" showPassword="false" /></td>
		</tr>
		<tr>
			<td>&nbsp;</td>
			<td><input type="submit" value="Login" class="submit-button"
				style="width: 65px;" />&nbsp;&nbsp;&nbsp; <input type="button"
				value="Reset" id="school-login-reset" class="submit-button"
				style="width: 65px;" /></td>
		</tr>
	</table>
	</fieldset>
</form:form></div>
</div>
</body>
</html>